package com.sc.nft.entity.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.List;

@Data
public class SingleHoldCollectionVO {

    @ApiModelProperty("藏品名称")
    private String collectionName;

    @ApiModelProperty("市值")
    private String marketValue;

    @ApiModelProperty("今日涨幅")
    private String toDaysGains;

    @ApiModelProperty("最新成交价")
    private String newDeal;

    @ApiModelProperty("缩略图")
    private String creationContent;

    @ApiModelProperty("用户邀请好友链接")
    private String shareUrl;

    @ApiModelProperty("藏品详情")
    private List<SingleHoldCollectionDetails> singleHoldCollectionDetails;

    public void setMarketValue(BigDecimal marketValue) {
        this.marketValue = marketValue.toPlainString();
    }

    public void setToDaysGains(BigDecimal toDaysGains) {
        this.toDaysGains = toDaysGains.toPlainString();
    }

    public void setNewDeal(BigDecimal newDeal) {
        this.newDeal = newDeal.toPlainString();
    }

}